ssh 192.168.24.129
kafka-server-start.sh -daemon /usr/kfk/kafka_2.12-0.11.0.2/config/server.properties

ssh 192.168.24.130
kafka-server-start.sh -daemon /usr/kfk/kafka_2.12-0.11.0.2/config/server.properties

ssh 192.168.24.131
kafka-server-start.sh -daemon /usr/kfk/kafka_2.12-0.11.0.2/config/server.properties



#监控启动方式JMX 9999：端口号
JMX_PORT=9999 kafka-server-start.sh -daemon /usr/kfk/kafka_2.12-0.11.0.2/config/server.properties

#创建主题 kafka-action 2个副本 3个分区 3个节点的kafka集群，最多只能有3个副本 
kafka-topics.sh --create --zookeeper server-1:2181,server-2:2181,server-3:2181 -replication-factor 2 --partitions 3 --topic kafka-action
